package com.koron.device;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@EnableSwagger2
@EnableFeignClients(value = {"com.koron.device", "com.koron.common.core.business.system", "com.koron.common.core.business.standard.feign"})
@EnableDiscoveryClient
@ComponentScan(value = {"com.koron.dynamic", "com.koron.common.core", "com.koron"})
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        DataSourceTransactionManagerAutoConfiguration.class,
        HibernateJpaAutoConfiguration.class})
public class DeviceServiceApplication{

    public static void main(String[] args) {
        SpringApplication.run(DeviceServiceApplication.class,args);
    }

}
